package com.bigdata.utils;/**
 * Created by Administrator on 2019/8/6 0006.
 */

import java.math.BigDecimal;

/**
 * @author lly
 * @description
 * @date 2019/8/6 0006
 **/
public class IntegerUtil {

    public static int getDel(BigDecimal n) {
        if (n != null) {
            return n.intValue();
        }
        return 0;
    }
}
